﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;

namespace Dora.Tools.Enums.AdminUser
{

    /// <summary>
    /// 员工操作类型
    /// </summary>
    /// <remarks>
    /// 登录方式 0用户名1钉钉
    /// </remarks>
    public enum OperationType
    {
        /// <summary>
        /// 调试
        /// </summary>
        [Description("调试")]
        Debugger = -1,
        /// <summary>
        /// 错误
        /// </summary>
        [Description("错误")]
        Error = 0,
        ///// <summary>
        ///// 修改密码
        ///// </summary>
        //[Description("修改密码")]
        //UpdatePassword = 1,
        /// <summary>
        /// 重置密码
        /// </summary>
        [Description("重置密码")]
        ResetPassword = 2,
        ///// <summary>
        ///// 权限创建
        ///// </summary>
        //[Description("权限创建")]
        //PermissionCreate = 3,
        ///// <summary>
        ///// 权限修改
        ///// </summary>
        //[Description("权限修改")]
        //PermissionUpdate = 4,
        /// <summary>
        /// 权限删除
        /// </summary>
        [Description("权限删除")]
        PermissionDelete = 5,
        /// <summary>
        /// 批量禁用角色
        /// </summary>
        [Description("批量禁用角色")]
        RoleBatchDisable = 6,
        /// <summary>
        /// 批量启用角色
        /// </summary>
        [Description("批量启用角色")]
        RoleBatchEnable = 7,
        ///// <summary>
        ///// 权限创建
        ///// </summary>
        //[Description("角色创建")]
        //RoleCreate = 8,
        ///// <summary>
        ///// 权限修改
        ///// </summary>
        //[Description("角色修改")]
        //RoleUpdate = 9,
        /// <summary>
        /// 权限删除
        /// </summary>
        [Description("角色删除")]
        RoleDelete = 10,
        ///// <summary>
        ///// 批量保存角色权限
        ///// </summary>
        //[Description("批量保存角色权限")]
        //SaveRolePermission = 11,
        ///// <summary>
        ///// 系统创建
        ///// </summary>
        //[Description("系统创建")]
        //SystemInfoCreate = 12,
        ///// <summary>
        ///// 系统修改
        ///// </summary>
        //[Description("系统修改")]
        //SystemInfoUpdate = 13,
        /// <summary>
        /// 系统删除
        /// </summary>
        [Description("系统删除")]
        SystemInfoDelete = 14,
        ///// <summary>
        ///// 美程用户创建
        ///// </summary>
        //[Description("美程用户创建")]
        //DoraUserCreate = 15,
        ///// <summary>
        ///// 美程用户修改
        ///// </summary>
        //[Description("美程用户修改")]
        //DoraUserUpdate = 16,
        /// <summary>
        /// 美程用户删除
        /// </summary>
        [Description("美程用户删除")]
        DoraUserDelete = 17,
        ///// <summary>
        ///// 供应商用户创建
        ///// </summary>
        //[Description("供应商用户创建")]
        //SrmUserCreate = 18,
        ///// <summary>
        ///// 供应商用户修改
        ///// </summary>
        //[Description("供应商用户修改")]
        //SrmUserUpdate = 19,
        /// <summary>
        /// 供应商用户删除
        /// </summary>
        [Description("供应商用户删除")]
        SrmUserDelete = 20,
        ///// <summary>
        ///// 旅社用户创建
        ///// </summary>
        //[Description("旅社用户创建")]
        //TasUserCreate = 21,
        ///// <summary>
        ///// 旅社用户修改
        ///// </summary>
        //[Description("旅社用户修改")]
        //TasUserUpdate = 22,
        /// <summary>
        /// 旅社用户删除
        /// </summary>
        [Description("旅社用户删除")]
        TasUserDelete = 23,
        /// <summary>
        /// 更换管理员
        /// </summary>
        [Description("更换管理员")]
        ChangeAdmin = 23,
        /// <summary>
        /// 更换负责人
        /// </summary>
        [Description("更换负责人")]
        ChangeLeader = 24,
        /// <summary>
        /// 旅社组织用户删除
        /// </summary>
        [Description("旅社组织用户删除")]
        OrgUserDelete = 25,
        /// <summary>
        /// 小程序创建订单
        /// </summary>
        [Description("小程序创建订单")]
        CreateOrderFromMP = 26,
        /// <summary>
        /// 小程序取消订单
        /// </summary>
        [Description("小程序取消订单")]
        MPCancelOrder = 27,
        /// <summary>
        /// 线上订单记账
        /// </summary>
        [Description("线上订单记账")]
        OnlineOrderBooking = 28,
        /// <summary>
        /// 小程序取消订单
        /// </summary>
        [Description("小程序前端日志")]
        MPFront = 29,

        #region 订单日志 100-199号段
        /// <summary>
        /// 轮循更新出团状态
        /// </summary>
        [Description("轮循更新出团状态")]
        UpdateSetoutState = 100,
        /// <summary>
        /// 轮循取消已超时未付款的订单
        /// </summary>
        [Description("轮循取消已超时订单")]
        CancelPayTimeoutOrders = 101,
        /// <summary>
        /// 更新订单支付状态
        /// </summary>
        [Description("更新订单支付状态")]
        UpdateOrderPaymentDetail = 102,

        /// <summary>
        /// TAS-标准散客订单
        /// </summary>
        [Description("TAS-标准散客订单")]
        TAS_IndividualOrder = 103,
        /// <summary>
        /// TAS-标准团队订单
        /// </summary>
        [Description("TAS-标准团队订单")]
        TAS_TeamOrder = 104,
        /// <summary>
        /// TAS-散客临时订单
        /// </summary>
        [Description("TAS-散客临时订单")]
        TAS_IndividualTempOrder = 105,
        /// <summary>
        /// TAS-团队临时订单
        /// </summary>
        [Description("TAS-团队临时订单")]
        TAS_TeamTempOrder = 106,
        /// <summary>
        /// TAS-散客后补订单
        /// </summary>
        [Description("TAS-散客后补订单")]
        TAS_IndividualSupplementOrder = 107,
        /// <summary>
        /// TAS-团队后补订单
        /// </summary>
        [Description("TAS-团队后补订单")]
        TAS_TeamSupplementOrder = 108,
        /// <summary>
        /// SRM-标准散客订单
        /// </summary>
        [Description("SRM-标准散客订单")]
        SRM_IndividualOrder = 109,
        /// <summary>
        /// SRM-标准团队订单
        /// </summary>
        [Description("SRM-标准团队订单")]
        SRM_TeamOrder = 110,
        /// <summary>
        ///SRM-散客后补订单
        /// </summary>
        [Description("SRM-散客后补订单")]
        SRM_IndividualSupplementOrder = 111,
        /// <summary>
        /// SRM-团队后补订单
        /// </summary>
        [Description("SRM-团队后补订单")]
        SRM_TeamSupplementOrder = 112,
        /// <summary>
        /// TAS-订单申请退款
        /// </summary>
        [Description("TAS-订单申请退款")]
        TAS_ApplyOrderRefund = 113,
        /// <summary>
        /// TAS-处理退款
        /// </summary>
        [Description("TAS-处理退款")]
        TAS_RefundToStore = 114,
        /// <summary>
        /// TAS-退款给游客
        /// </summary>
        [Description("TAS-退款给游客")]
        TAS_RefundToTourist = 115,
        /// <summary>
        /// TAS-出团通知书
        /// </summary>
        [Description("TAS-出团通知书")]
        TAS_DepartureNotice = 116,
        /// <summary>
        /// SRM-处理退款
        /// </summary>
        [Description("SRM-处理退款")]
        SRM_OrderRefund = 117,
        /// <summary>
        /// SRM-出团通知书
        /// </summary>
        [Description("SRM-出团通知书")]
        SRM_DepartureNotice = 118,

        #endregion

        #region 保险相关日志 200号段
        /// <summary>
        /// 保险投保参数
        /// </summary>
        [Description("保险投保参数")]
        InsurancePostInfo = 200,
        /// <summary>
        /// 保险退保参数
        /// </summary>
        [Description("保险退保参数")]
        InsuranceCancelInfo = 201,

        /// <summary>
        /// 大社分社默认保险
        /// </summary>
        [Description("大社分社默认保险")]
        DefaultInsurance = 202,
        #endregion


        #region 产品相关日志 占用300-500号段
        /// <summary>
        /// 保存产品基本信息
        /// </summary>
        [Description("保存产品基本信息")]
        SaveProductInfo = 300,

        #endregion

        #region 支付相关 500-600号段
        [Description("支付入参")]
        PaymentInput = 503,
        [Description("支付出参")]
        PaymentOutput = 504,

        [Description("退款入参")]
        RefundInput = 505,
        [Description("退款出参")]
        RefundOutput = 506,

        [Description("回调")]
        PayCallBackInput = 507,

        #endregion

        #region 合同相关 700-800号段
        /// <summary>
        /// 申领电子合同入参
        /// </summary>
        [Description("申领电子合同入参")]
        EContractInput = 701,
        /// <summary>
        /// 申领电子合同出参
        /// </summary>
        [Description("申领电子合同出参")]
        EContractOutput = 702,
        /// <summary>
        /// 回调电子合同入参
        /// </summary>
        [Description("回调电子合同入参")]
        CallBackContract = 711,
        #endregion

        #region 发票
        /// <summary>
        /// 发票确认开票
        /// </summary>
        [Description("线上订单记账")]
        ConfirmInvoiceApply = 900
        #endregion
    }

}
